package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 维修记录,管理员可见权限对象 goods
 * 
 * @author admin
 * @date 2023-12-05
 */
public class Goods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 编号 */
    @Excel(name = "编号")
    private String serial;

    /** 物品名称 */
    @Excel(name = "物品名称")
    private String name;

    /** 物品分类 */
    @Excel(name = "物品分类")
    private String type;

    /** 维修进度 */
    @Excel(name = "维修进度")
    private String plan;

    /** 维修费用 */
    @Excel(name = "维修费用")
    private BigDecimal money;

    /** 维修开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "维修开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 用户账号 */
    @Excel(name = "用户账号")
    private String uhao;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String uName;

    /** 用户电话 */
    @Excel(name = "用户电话")
    private String uPhone;

    /** 维修账号 */
    @Excel(name = "维修账号")
    private String mhao;

    /** 维修姓名 */
    @Excel(name = "维修姓名")
    private String mName;

    /** 维修电话 */
    @Excel(name = "维修电话")
    private String mPhone;

    /** 是否支付 */
    @Excel(name = "是否支付")
    private Long pay;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSerial(String serial) 
    {
        this.serial = serial;
    }

    public String getSerial() 
    {
        return serial;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setPlan(String plan) 
    {
        this.plan = plan;
    }

    public String getPlan() 
    {
        return plan;
    }
    public void setMoney(BigDecimal money) 
    {
        this.money = money;
    }

    public BigDecimal getMoney() 
    {
        return money;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setUhao(String uhao) 
    {
        this.uhao = uhao;
    }

    public String getUhao() 
    {
        return uhao;
    }
    public void setuName(String uName) 
    {
        this.uName = uName;
    }

    public String getuName() 
    {
        return uName;
    }
    public void setuPhone(String uPhone) 
    {
        this.uPhone = uPhone;
    }

    public String getuPhone() 
    {
        return uPhone;
    }
    public void setMhao(String mhao) 
    {
        this.mhao = mhao;
    }

    public String getMhao() 
    {
        return mhao;
    }
    public void setmName(String mName) 
    {
        this.mName = mName;
    }

    public String getmName() 
    {
        return mName;
    }
    public void setmPhone(String mPhone) 
    {
        this.mPhone = mPhone;
    }

    public String getmPhone() 
    {
        return mPhone;
    }
    public void setPay(Long pay) 
    {
        this.pay = pay;
    }

    public Long getPay() 
    {
        return pay;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serial", getSerial())
            .append("name", getName())
            .append("type", getType())
            .append("plan", getPlan())
            .append("money", getMoney())
            .append("startTime", getStartTime())
            .append("uhao", getUhao())
            .append("uName", getuName())
            .append("uPhone", getuPhone())
            .append("mhao", getMhao())
            .append("mName", getmName())
            .append("mPhone", getmPhone())
            .append("pay", getPay())
            .toString();
    }
}
